﻿Public Class gestionmascotas

    Private Sub MascotaBindingNavigatorSaveItem_Click(sender As System.Object, e As System.EventArgs)
        Me.Validate()
        Me.MascotaBindingSource.EndEdit()
        Me.TableAdapterManager.UpdateAll(Me.ZooDataSet)

    End Sub

    Private Sub gestionmascotas_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'ZooDataSet.mascota' table. You can move, or remove it, as needed.
        Me.MascotaTableAdapter.Fill(Me.ZooDataSet.mascota)
        'TODO: This line of code loads data into the 'ZooDataSet.mascota' table. You can move, or remove it, as needed.
        Me.MascotaTableAdapter.Fill(Me.ZooDataSet.mascota)

    End Sub

    Private Sub MascotaDataGridView_CellContentClick(sender As System.Object, e As System.Windows.Forms.DataGridViewCellEventArgs)

    End Sub

    Private Sub MascotaBindingNavigatorSaveItem_Click_1(sender As System.Object, e As System.EventArgs) Handles MascotaBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.MascotaBindingSource.EndEdit()
        Me.TableAdapterManager.UpdateAll(Me.ZooDataSet)

    End Sub
End Class